const express = require('express')
//创建服务器
const app = express.Router()
const { insertMd } = require('../dataBase/api')
/* GET users listing. */
app.post('/md', function (req, res, next) {
    console.log(req.body, 9999999);
    
    insertMd(req.body)
    // console.log(req.body.content, 9999999);
    res.send('发送成功');
});

module.exports = app;